package com.openflag.clientservice.service;

import com.openflag.clientservice.domain.Client;
import com.openflag.clientservice.domain.GetClientUnit;

import java.util.Optional;

public interface ClientService {
    GetClientUnit getClient(Long id);
    Optional<Client> loginClient(String account, String password);

    Integer registerClient(String name,String account,String password,Integer position);
}
